package com.job.zhaokaiqiang;

/**
 * @author DELL
 * @version 1.0
 * @since 2022-07-06 18:41:06
 */
public class Paishu {
    public static void main(String[] args) {
        int i,j,k;
        int n=0;
        for(i=1;i<=4;i++)
        {
            for(j=1;j<=4;j++)
            {
                for(k=1;k<=4;k++)
                {
                    if(i!=j&&i!=k&&j!=k)
                    {
                        System.out.print(i);
                        System.out.print(j);
                        System.out.println(k);
                        n++;
                    }
                }
            }
        }
        System.out.println("共有"+n+"个");
    }
}
